﻿<%@ Page Title="Title" Language="C#" Inherits="System.Web.Mvc.ViewPage<Uber.WebUI.Models.ProfileEditInput>"
    MasterPageFile="~/Views/Shared/Site.Master" %>

<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">
</asp:Content>
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
    <form method="post" action="<%=Url.Action("edit") %>">
    <%=Html.AntiForgeryToken() %>
    <div class="inputform">
        <div class="efield">
            <div class="elabel">
                <label for="DisplayName">
                    Display Name:</label>
            </div>
            <div class="einput">
                <%=Html.TextBox("DisplayName")%>
                <%=Html.ValidationMessage("DisplayName")%>
            </div>
        </div>
        <div class="efield">
            <div class="elabel">
                <label for="Email">
                    Email:</label>
            </div>
            <div class="einput">
                <%=Model.Email%>  
                <%=Html.Hidden("Email") %>              
            </div>
        </div>
        <div class="efield">
            <div class="elabel">
                <label for="Aemail">
                    Secondary email:</label>
            </div>
            <div class="einput">
                <%=Html.TextBox("Aemail")%>
                <%=Html.ValidationMessage("Aemail")%>
            </div>
            <div class="ib">if specified it will be used instead of the fist email for notifications</div>
        </div>
        <div class="efield esubmit">
            <input type="submit" value="Change" /> <%=Html.ActionLink("Cancel","index") %>
        </div>
    </div>
    </form>
</asp:Content>
